package com.zlq.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class FileController {
//    @PostMapping("/uploadPage")
//    @ResponseBody
    @RequestMapping(value = "/uploadPage")
    public String toUpLoadPage(){
        return "upload";
    }

    @RequestMapping(value = "/download")
    public String toDownLoadPage(){
        return "download";
    }
}
